package com.lnking.lnkingplace.model.dto.isolation.worker;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class WorkerListDto {

    private String id;

    private String placeName;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "所属单位")
    private String department;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "工作人员姓名")
    private String workerName;

    @ApiModelProperty(value = "工作人员电话")
    private String workerPhone;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "是否3针核酸")
    private String inoculateThree;

    @ApiModelProperty(value = "进入时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @ApiModelProperty("集中隔离区/行政保障区")
    private String camp;

    @ApiModelProperty("下线")
    @JsonIgnore
    private String offline;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("政治面貌")
    private String politicsStatus;

    @ApiModelProperty(value = "单位类型")
    private String departmentType;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty("住址")
    private String address;

    @ApiModelProperty("考核结果")
    private String evaluationResult;
}
